<?php $this->load->view('public/member_pubnav');?>
<div class="woaicss">

    <ul class="woaicss_title woaicss_title_bg1" id="woaicsstitle">
        <li><a href="#"  onmouseover="javascript:woaicssq(1)">粉丝列表</a></li>
        <li><a href="#"  onmouseover="javascript:woaicssq(2)">关注列表</a></li>
    </ul>
    <div class="woaicss_con" id="woaicss_con1" style="display:block;">
        <div class="fans_list1">
            <?php
                if(!empty($fans)){  //粉丝
                    foreach($fans as $fansk => $fansv){
                        $one_fans_sql = 'select * from member where id = '.$fansv['focuser'];
                        $one_fans = $this->db->query($one_fans_sql)->row_array();
            ?>
            <div class="fans_box">
                <div class="fans_box_1">
                    <div class="fans_box_1_1">
                    	<a href="<?php echo base_url('column/center').'/'.$fansv['focuser'];?>">
                        <img width="60px" height="60px" src="<?php if(!empty($one_fans['img'])){echo base_url().'upload/avator/'.$one_fans['img'];}else{echo 'http://assets.taobaocdn.com/app/sns/img/default/avatar-60.png';}?>"/>
                        </a>
                        </div>
                    <div class="fans_box_1_2">
                        <span class="fans_name"><a href="<?php echo base_url('column/center').'/'.$fansv['focuser'];?>"><b><?php echo $one_fans['name'];?></b></a></span>
                        <div class="clr"></div>
                        <span class="fans_mes">来自：<?php echo $one_fans['address'];?></span>
                        <div class="clr"></div>
                        <span class="fans_mes">用户等级：<img src="http://a.tbcdn.cn/sys/common/icon/rank_s/b_blue_1.gif"></span>
                    </div>
                </div>

            </div>
            <?php }}?>
        </div>
        <div class="clr1"></div>
    </div>

    <div class="woaicss_con" id="woaicss_con2" style="display:none;">
        <div class="fans_list1">
        <?php
            if(!empty($focus)){  //关注的人
                foreach($focus as $focusk => $focusv){
                    $one_foucs_sql = 'select * from member where id = '.$focusv['focuseder'];
                    $one_foucs = $this->db->query($one_fans_sql)->row_array();
                    //$one_foucs = $this->member->get_one_list($focusv['focuser']);
        ?>
            <div class="fans_box">
                <div class="fans_box_1">
                    <div class="fans_box_1_1">
                    	<a href="<?php echo base_url('column/center').'/'.$focusv['focuseder'];?>">
                        <img width="60px" height="60px" src="<?php if(!empty($one_foucs['img'])) {echo base_url().'upload/avator/'.$one_foucs['img'];}else{echo 'http://assets.taobaocdn.com/app/sns/img/default/avatar-60.png';}?>"/>
                    	</a>
                    </div>
                    <div class="fans_box_1_2">
                        <span class="fans_name"><a href="<?php echo base_url('column/center').'/'.$focusv['focuseder'];?>"><b><?php echo $one_foucs['name'];?></b></a></span>
                        <div class="clr"></div>
                        <span class="fans_mes">来自：<?php echo $one_foucs['address'];?></span>
                        <div class="clr"></div>
                        <span class="fans_mes">用户等级：<img src="http://a.tbcdn.cn/sys/common/icon/rank_s/b_blue_1.gif"></span>
                    </div>
                </div>
                <div class="fans_box_2">
                    <span class="fans_mes1">已关注</span>
                </div>
            </div>
            <?php }}?>
        </div>
    </div>
</div>

<?php $this->load->view('public/member_pubfooter');?>